NAVNavbar
Logo
cURL php NodeJS Python cSharp

Get Google App Reviews Results by id

 
This endpoint will provide you with feedback data on applications listed on the Google Play platform, including review ratings, review content, user profile info of each reviewer, review publication dates, and more. The results are specific to the app_id as well as the location and language parameters specified in the POST request.

We emulate set parameters with the highest accuracy so that the results you receive will match the actual search results for the specified parameters at the time of task setting. You can always check the returned results accessing the check_url in the Incognito mode to make sure the received data is entirely relevant. Note that user preferences, search history, and other personalized search factors are ignored by our system and thus would not be reflected in the returned results.

Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-dashboard

<?php
// You can download this file from here https://cdn.dataforseo.com/v3/examples/php/php_RestClient.zip
require('RestClient.php');
$api_url = 'https://api.dataforseo.com/';
// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
$client = new RestClient($api_url, null, 'login', 'password');

try {
	$result = array();
	// #1 - using this method you can get a list of completed tasks
	// GET /v3/app_data/google/app_reviews/tasks_ready
	$tasks_ready = $client->get('/v3/app_data/google/app_reviews/tasks_ready');
	// you can find the full list of the response codes here https://docs.dataforseo.com/v3/appendix/errors
	if (isset($tasks_ready['status_code']) AND $tasks_ready['status_code'] === 20000) {
		foreach ($tasks_ready['tasks'] as $task) {
			if (isset($task['result'])) {
				foreach ($task['result'] as $task_ready) {
					// #2 - using this method you can get results of each completed task
					// GET /v3/app_data/google/app_reviews/task_get/advanced/$id
					if (isset($task_ready['endpoint_advanced'])) {
						$result[] = $client->get($task_ready['endpoint_advanced']);
					}
					// #3 - another way to get the task results by id
					// GET /v3/app_data/google/app_reviews/task_get/advanced/$id
					/*
					if (isset($task_ready['id'])) {
						$result[] = $client->get('/v3/app_data/google/app_reviews/task_get/advanced/' . $task_ready['id']);
					}
					*/
				}
			}
		}
	}
	print_r($result);
	// do something with result
} catch (RestClientException $e) {
	echo "\n";
	print "HTTP code: {$e->getHttpCode()}\n";
	print "Error code: {$e->getCode()}\n";
	print "Message: {$e->getMessage()}\n";
	print  $e->getTraceAsString();
	echo "\n";
}
$client = null;
?>

The above command returns JSON structured like this:

{
  "version": "0.1.20220428",
  "status_code": 20000,
  "status_message": "Ok.",
  "time": "0.0708 sec.",
  "cost": 0,
  "tasks_count": 1,
  "tasks_error": 0,
  "tasks": [
    {
      "id": "05131118-2806-0425-0000-b36ab2168e49",
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.0504 sec.",
      "cost": 0,
      "result_count": 1,
      "path": [
        "v3",
        "app_data",
        "google",
        "app_reviews",
        "task_get",
        "advanced",
        "05131118-2806-0425-0000-b36ab2168e49"
      ],
      "data": {
        "se_type": "reviews",
        "se": "google",
        "api": "app_data",
        "function": "app_reviews",
        "app_id": "org.telegram.messenger",
        "location_code": 2840,
        "language_code": "en",
        "depth": 200,
        "rating": 5,
        "device": "desktop",
        "os": "windows"
      },
      "result": [
        {
          "app_id": "org.telegram.messenger",
          "type": "reviews",
          "se_domain": "play.google.com",
          "location_code": 2840,
          "language_code": "en",
          "check_url": "https://play.google.com/store/apps/details?id=org.telegram.messenger&hl=en&gl=us&showAllReviews=true",
          "datetime": "2022-05-13 08:18:37 +00:00",
          "title": "Telegram",
          "rating": {
            "rating_type": "Max5",
            "value": 4.4459467,
            "votes_count": 10847034,
            "rating_max": 5
          },
          "reviews_count": null,
          "items_count": 300,
          "items": [
            {
              "type": "google_play_reviews_search",
              "rank_group": 1,
              "rank_absolute": 1,
              "position": "left",
              "version": "8.7.4",
              "rating": {
                "rating_type": "Max5",
                "value": 5,
                "votes_count": null,
                "rating_max": 5
              },
              "timestamp": "2022-05-09 16:16:40 +00:00",
              "helpful_count": 252,
              "title": null,
              "review_text": "Can be used in lieu of multiple applications. I use it for texting, calling, video chat, taking pictures, video recording messages/notes, group chats, group pages, regular notepad, gallery, editing, saving important data, meeting people with similar interests and a million other things. Can use on multiple devices simultaneously. Privacy is a non-issue. My favorite app.",
              "user_profile": {
                "profile_name": "Samantha T Vargas",
                "profile_image_url": "https://play-lh.googleusercontent.com/a-/AOh14GhP7hGUsEbYETyg2gM2TzNMImG9dpceHPm4_FWE"
              },
              "responses": null
            },
            {
              "type": "google_play_reviews_search",
              "rank_group": 2,
              "rank_absolute": 2,
              "position": "left",
              "version": "8.5.4",
              "rating": {
                "rating_type": "Max5",
                "value": 5,
                "votes_count": null,
                "rating_max": 5
              },
              "timestamp": "2022-03-11 00:33:20 +00:00",
              "helpful_count": 951,
              "title": null,
              "review_text": "So far it's easy to use and I love the little touches of animation that they have Incorporated into all the functions. For example there is an endless amount of stickers from all areas of pop culture and they are animated. Even when you like a post, you see a little animation and others can see it in real time as well, knowing that the post just received a new like.",
              "user_profile": {
                "profile_name": "Jonathan Heenan",
                "profile_image_url": "https://play-lh.googleusercontent.com/a-/AOh14GiA_iezZqOlboyvqB_z0ObiDK-JLCFrndXYq5tpOg"
              },
              "responses": null
            },
            {
              "type": "google_play_reviews_search",
              "rank_group": 3,
              "rank_absolute": 3,
              "position": "left",
              "version": "8.5.4",
              "rating": {
                "rating_type": "Max5",
                "value": 5,
                "votes_count": null,
                "rating_max": 5
              },
              "timestamp": "2022-03-11 12:21:28 +00:00",
              "helpful_count": 734,
              "title": null,
              "review_text": "Excellent. Always works. When texts aren't going through, my sister and I connect over Telegram. It's also a very convenient way to get files from my phone onto my computer and vice versa, I just send them to myself. Stickers are awesome and it's easy to add your own, which I've had fun with. The customizeable backgrounds are nice. I don't have anything bad to say, it just always works as it's meant to.",
              "user_profile": {
                "profile_name": "Corinne Hunter",
                "profile_image_url": "https://play-lh.googleusercontent.com/a-/AOh14GhOmSCeJ5435X74qs_S4gc7OCeEzNhKgaJSbgiT8w"
              },
              "responses": null
            },
            {
              "type": "google_play_reviews_search",
              "rank_group": 4,
              "rank_absolute": 4,
              "position": "left",
              "version": "8.5.4",
              "rating": {
                "rating_type": "Max5",
                "value": 5,
                "votes_count": null,
                "rating_max": 5
              },
              "timestamp": "2022-03-08 16:32:34 +00:00",
              "helpful_count": 366,
              "title": null,
              "review_text": "Fantastic secure messaging app. Highly effective UI makes it easy to sort through messages, edit or delete texts, pin or schedule messages, and of course the most important part - THEY HAVE THE BEST STICKERS EVER. Like most people I am stuck using a portfolio of messaging apps for friends who \"only\" use one - this is the one to rule them all for efficiency, features, prioritization of privacy, and ease of use.",
              "user_profile": {
                "profile_name": "marushka grogan",
                "profile_image_url": "https://play-lh.googleusercontent.com/a-/AOh14GguzEoSZOqs6j_aZmlBnMif6fx0AS1XKEFN4J7wmZM"
              },
              "responses": null
            },
            {
              "type": "google_play_reviews_search",
              "rank_group": 5,
              "rank_absolute": 5,
              "position": "left",
              "version": "8.4.0",
              "rating": {
                "rating_type": "Max5",
                "value": 5,
                "votes_count": null,
                "rating_max": 5
              },
              "timestamp": "2021-12-29 19:20:37 +00:00",
              "helpful_count": 1165,
              "title": null,
              "review_text": "Im visually impaired, and its great to be able to use TalkBack, and turn it on while youre in the app. You cant do that on me***nge*. If I get a message, and my screen reader is off after clicking on it, I have to exit, turn my screen reader on, then go back to Me***nge*. Also my reader in Me***nge* will not read what the stickers are, but it will in Telegram. Im very appreciative to you guys for that. It makes it a lot easier, especially looking for stickers to send. Font can be enlarged also!",
              "user_profile": {
                "profile_name": "Elisheva Freely",
                "profile_image_url": "https://play-lh.googleusercontent.com/a-/AOh14Ggmn79OsW-3k_lIEj4-hFUuexiJnLYnf-6-5MZgrDw"
              },
              "responses": null
            }
          ]
        }
      ]
    }
  ]
}

Description of the fields for sending a request:

Field name Type Description
id string task identifier
unique task identifier in our system in the UUID format
you will be able to use it within 30 days to request the results of the task at any time

‌‌‌‌
‌‌As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information specific to the set tasks.

Description of the fields in the results array:

Field name Type Description
version string the current version of the API
status_code integer general status code
you can find the full list of the response codes here
Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_message string general informational message
you can find the full list of general informational messages here
time string execution time, seconds
cost float total tasks cost, USD
tasks_count integer the number of tasks in the tasks array
tasks_error integer the number of tasks in the tasks array that were returned an error
tasks array array of tasks
        id string task identifier
unique task identifier in our system in the UUID format
        status_code integer status code of the task
generated by DataForSEO; can be within the following range: 10000-60000
you can find the full list of the response codes here
        status_message string informational message of the task
you can find the full list of general informational messages here
        time string execution time, seconds
        cost float cost of the task, USD
        result_count integer number of elements in the result array
        path array URL path
        data object contains the same parameters that you specified in the POST request
        result array array of results
            app_id string application id received in a POST array
            type string search engine type in a POST array
            se_domain string search engine domain in a POST array
            location_code integer location code in a POST array
            language_code string language code in a POST array
            check_url string direct URL to search engine results
you can use it to make sure that we provided accurate results
            datetime string date and time when the result was received
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
example:
2019-11-15 12:57:46 +00:00
            title string title of the app
title of the application for which the reviews are collected
            rating object rating of the app
rating of the application for which the reviews are collected
                rating_type string type of rating
here you can find the following elements: Max5, Percents, CustomMax
                value float the average rating based on all reviews
                votes_count integer the number of votes
                rating_max integer the maximum value for a rating_type
            reviews_count integer the total number of reviews
            items_count integer the number of reviews items in the results array
you can get more results by using the depth parameter when setting a task
            items array found reviews
you can get more results by using the depth parameter when setting a task
                type string the review’s type
possible review types: "google_play_reviews_search"
                rank_group integer position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
                rank_absolute integer absolute rank among all the listed reviews
absolute position among all reviews on the list
                position string the alignment of the review in SERP
can take the following values: left
                version string version of the app
version of the app for which the review is submitted
                rating object the rating score submitted by the reviewer
                    rating_type string the type of the rating
can take the following values: Max5
                    value float the value of the rating
                    votes_count integer the amount of feedback
in this case, the value will be null
                    rating_max integer the maximum value for a rating_type
the maximum value for Max5 is 5
                helpful_count integer number of helpful votes
indicates how many users considered the review helpful and voted with the thumbs up icon
                title string title of the review
Google Play doesn’t provide an option to title reviews, so this parameter will always equal null
                review_text string content of the review
                user_profile object user profile of the reviewer
                    profile_name string profile name of the reviewer
                    profile_image_url string URL to the reviewer’s profile image
                responses array response from the developer
                    author string author of the response
                    title string title of the response
in this case, will equal null
                    text string content of the response
                    timestamp string date and time when the response was published
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”;
example:
2019-11-15 12:57:46 +00:00

‌‌